using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using GuoTao.BLL;

namespace GuoTao.Web.Controls
{
    public partial class Top : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            BigClassBLL bll=new BigClassBLL();
            DataSet ds=new DataSet();
            ds = bll.GetList("1=1 order by BigClassOrder asc");
            int dsrows = ds.Tables[0].Rows.Count;
            for (int i = 0; i < dsrows; i++)
			{
                Label lb1 = new Label();
                TableCell tcel = new TableCell();
                tcel.Text = "|<a href=" + "" + "Product.aspx?BigClassID=" + ds.Tables[0].Rows[i][0] + "" + ">" + ds.Tables[0].Rows[i][1] + "</a>&nbsp;";
                this.tr1.Cells.Add(tcel);
			}
            
        }
    }
}